package com.teamc.team.service;

import com.teamc.team.entity.Link;
import com.teamc.team.entity.Object;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teamc.team.mapper.ObjectMapper;
import com.teamc.team.vo.AdminObjectVO;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ding
 * @since 2021-06-10
 */
public interface IObjectService extends IService<Object> {
    List<AdminObjectVO> adminFindAllObject();
    List<AdminObjectVO> findAllVOByTypeName(String typename);
    List<AdminObjectVO> findByObjectID(String id);
    int change(Object obj);
    int delObject(String id);
    int addObject(Object x);
    boolean returnBook(Integer linkId);
}
